import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import { PaymentMethodsController } from './payment-methods.controller';
import { PaymentMethodsService } from './payment-methods.service';
import { WeChatPayService } from './wechat-pay.service';
import { AlipayService } from './alipay.service';
import { ApplePayService } from './apple-pay.service';
import { YooMoneyService } from './yoomoney.service';
import { MirPayService } from './mir-pay.service';
import { StripeService } from './stripe.service';

@Module({
  imports: [ConfigModule],
  controllers: [PaymentMethodsController],
  providers: [
    PaymentMethodsService,
    WeChatPayService,
    AlipayService,
    ApplePayService,
    YooMoneyService,
    MirPayService,
    StripeService,
  ],
  exports: [
    PaymentMethodsService,
    WeChatPayService,
    AlipayService,
    ApplePayService,
    YooMoneyService,
    MirPayService,
    StripeService,
  ],
})
export class PaymentMethodsModule {}